package stream;

/**
 *
 * Created by Robo on 2018/1/4.
 */
public class Student {
    private int groupId;
    private String className;
    private String name;

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Student() {
    }

    public Student(int groupId, String className, String name) {
        this.groupId = groupId;
        this.className = className;
        this.name = name;
    }

    @Override
    public String toString() {
        return "Student{" +
                "groupId=" + groupId +
                ", className='" + className + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
